package com.pubinfo.passbook.common.model.dto.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author zhouch
 * @date 2021/11/2 14:39
 */
@Data
@NoArgsConstructor
@ApiModel(value = "OrgTreePersonListParam", description = "根据组织查询人员请求参数")
public class OrgTreePersonListParam extends PageParamBase {
  
  @ApiModelProperty(value = "组织ID")
  @NotNull(message = "组织ID不能为空")
  @Min(value = 1, message = "组织ID必须有效")
  private Long orgId;
  
  @ApiModelProperty(value = "真实姓名/身份证号码")
  private String realname;
}
